Bottom Hat
Enhances the fine details or small objects within an image by subtracting an opened version of the image from the original.
Check options and parameters of bottomHat
method
Similarly to Top Hat, Bottom Hat operation computes the difference between two images. However, if top hat was using opening method, bottom hat is using closing method. The purpose of bottom hat(or, as it is also called, black-hat) is to enhance and extract darker regions of the image.


Parameters and default values
options
Options
Property | Required | Default value |
---|---|---|
iterations | no | 1 |
kernel | no | [[1, 1, 1],[1, 1, 1],[1, 1, 1]] |